﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="index.aspx.cs" Inherits="CMS._index" %>

    <!DOCTYPE html>

    <html xmlns="http://www.w3.org/1999/xhtml">
    <head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
        <title></title>
    <link rel="stylesheet" type="text/css" href="css/basic.css" />
    <link rel="stylesheet" type="text/css" href="css/index.css" />
    </head>
    <body>
        <div id="main">
            <div id="top" runat="server">
                欢迎您：<span id="stu_no" class="span1" runat="server"></span>
                <span id="stu_name" class="span2" runat="server"></span>同学
  
            </div>
        
            <div id="left">
               <div class="header">

               </div>
           
               <div class="body">
                    <a href="index.aspx" runat="server">班级公告</a>
                    <a href="findscore.aspx" runat="server">成绩查询</a> 
                    <a href="chengyuan.aspx" runat="server">班级成员</a>
                    <a href="#" runat="server">班级论坛</a>
                    <a href="happy.aspx" runat="server">开心一笑</a>
                    <a href="log.aspx">安全退出</a>
               </div>
            </div>

            <div id="right">
                 <p id="index">当前位置 -- <span id="position">班级公告</span></p>
                 
                 <% while(dr.Read()) {%>
                 <div class="gonggao">
                    <h1><% Response.Write(dr["info_title"].ToString()); %></h1>
                    <p><% Response.Write(dr["info_content"].ToString()); %></p>
                    <span class="span2">时间：<% Response.Write(dr["info_datetime"].ToString()); %></span><span class="span1">发布人：<% Response.Write(dr["info_publisher"].ToString()); %></span>
                 </div>
                <% } %>

                <div id="navigate"><% Response.Write(fenye.navigate); sqlHelper.cmd = null; sqlHelper.close_Connection() ;%></div>
                  
        <%--         <div id="Div1">
                    <h1>实习生公开课</h1>
                    <p>收到一个通知，明天上午有个《优秀实习生汇报公开课》，是1321的师兄师姐，我们全班必须到场，不能请假。时间地点是明天上午三四</p>
                    <span class="span2">时间：2016-12-12</span><span class="span1">发布人：杨元城</span>
                 </div>
                  
                 <div id="Div2">
                    <h1>实习生公开课</h1>
                    <p>收到一个通知，明天上午有个《优秀实习生汇报公开课》，是1321的师兄师姐，我们全班必须到场，不能请假。时间地点是明天上午三四</p>
                    <span class="span2">时间：2016-12-12</span><span class="span1">发布人：杨元城</span>
                 </div>--%>
                 <div id="publish">
                     <form runat="server" id="form1" >                      
                     <asp:Label ID="lbltitle" runat="server" Text="标题："></asp:Label>
                     <asp:TextBox ID="tbtitle" runat="server" ></asp:TextBox><br />
                     <asp:Label ID="lblcontent" runat="server" Text="内容："></asp:Label>
                     <asp:TextBox ID="tbcontent" runat="server" TextMode="MultiLine" ></asp:TextBox><br />
                     <asp:Button ID="send" runat="server" Text="发送" OnClick="send_Click"  />&nbsp;&nbsp;<asp:Button ID="cancell" runat="server" Text="取消" />               
                     </form>
                 </div>
                    
            </div>



        


            <div id="bottom">

            </div>
        </div>
    

    
    </body>
    </html>
